/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ecom.exception;

/**
 *
 * @author simon
 */
public class EcomException extends Throwable {

    private String errorMsg;

    public EcomException(String string, Throwable thrwbl) {
        super(string, thrwbl);
    }

    public EcomException(String string) {
        super(string);
    }

    public String getErrorMsg() {
        return super.getMessage();
    }
}
